package model.datastructure;

public class Dimension2D implements IDimension {

	private int width;

	private int height;

	public Dimension2D() {
		this.width = 0;
		this.height = 0;
	}

	public Dimension2D(Dimension2D dimention) {
		this.width = dimention.getWidth();
		this.height = dimention.getHeight();
	}

	public Dimension2D(int width, int height) {
		this.width = width;
		this.height = height;
	}

	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public void setHeight(int height) {
		this.height = height;
	}

}